package com.CityHunter.DataObject;

import java.util.Date;

import com.google.android.maps.GeoPoint;

public class SchedulePoint {
	
	private GeoPoint geoPoint;
	private Date time;
	private String description;
	private int order;
	
	public SchedulePoint(GeoPoint geoPoint){
		setGeoPoint(geoPoint);
	}
	
	public SchedulePoint(GeoPoint geoPoint, Date time, String description){
		setGeoPoint(geoPoint);
		setTime(time);
		setDescription(description);
	}

	public GeoPoint geoPoint() {
		return geoPoint;
	}

	public void setGeoPoint(GeoPoint geoPoint) {
		this.geoPoint = geoPoint;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public String toString(){
		return "Point" + order + "\n" + time.toGMTString();
	}
	
}
